package mailx

import "io"

type closer struct {
	io.Reader
	io.Writer
	io.Closer
}

func (c closer) Close() error {
	if c.Closer != nil {
		return c.Closer.Close()
	}
	return nil
}
